﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Model
{
    public class PackageProductInfo
    {
        private string packageProductSN;
        private string productSN;
        private string productTypeID;
        private string userID;
        private DateTime unionTime;
        private string isPackage;
        private string packer;
        private DateTime packageTime;

        public PackageProductInfo() { }


        public PackageProductInfo(string packageProductSN, string productSN, string productTypeID, string userID, DateTime unionTime)
        {
            this.packageProductSN = packageProductSN;
            this.productSN = productSN;
            this.productTypeID = productTypeID;
            this.userID = userID;
            this.unionTime = unionTime;
        }

        public PackageProductInfo(string packageProductSN, string productSN, string productTypeID, string userID, DateTime unionTime, string isPackage, string packer, DateTime packageTime)
        {
            this.packageProductSN = packageProductSN;
            this.productSN = productSN;
            this.productTypeID = productTypeID;
            this.userID = userID;
            this.unionTime = unionTime;
            this.isPackage = isPackage;
            this.packer = packer;
            this.packageTime = packageTime;
        }

        public PackageProductInfo(string packageProductSN, string productSN, string productTypeID, string userID, DateTime unionTime, string isPackage)
        {
            this.packageProductSN = packageProductSN;
            this.productSN = productSN;
            this.productTypeID = productTypeID;
            this.userID = userID;
            this.unionTime = unionTime;
            this.isPackage = isPackage;
        }

        public string PackageProductSN { get { return packageProductSN; } set { packageProductSN = value; } }
        public string ProductSN { get { return productSN; } set { productSN = value; } }
        public string ProductTypeID { get { return productTypeID; } set { productTypeID = value; } }
        public string UserID { get { return userID; } set { userID = value; } }
        public DateTime UnionTime { get { return unionTime; } set { unionTime = value; } }
        public string IsPackage { get { return isPackage; } set { isPackage = value; } }
        public string Packer { get { return packer; } set { packer = value; } }
        public DateTime PackageTime { get { return packageTime; } set { packageTime = value; } }
    }
}
